/* 全局样式 */

/* 移除Element Plus消息和通知的关闭按钮 - 更具体的选择器以增加优先级 */
.el-message .el-message__closeBtn,
.el-message.el-message--success .el-message__closeBtn,
.el-message.el-message--warning .el-message__closeBtn,
.el-message.el-message--error .el-message__closeBtn,
.el-message.el-message--info .el-message__closeBtn,
.el-notification .el-notification__closeBtn,
.el-notification.el-notification--success .el-notification__closeBtn,
.el-notification.el-notification--warning .el-notification__closeBtn,
.el-notification.el-notification--error .el-notification__closeBtn,
.el-notification.el-notification--info .el-notification__closeBtn,
.el-message .el-icon.el-message__closeBtn,
.el-notification .el-icon.el-notification__closeBtn {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* 移除padding-right以补偿关闭按钮的空间 */
.el-message {
  padding-right: 15px !important;
}

.el-notification {
  padding-right: 15px !important;
}

/* 确保无关闭按钮时消息内容正确对齐 */
.el-message .el-message__content {
  margin-right: 0 !important;
}

/* 防止可能的容器挤压，这可能由隐藏关闭按钮引起 */
.el-message-fade-enter-from, 
.el-message-fade-leave-to {
  max-height: none !important;
  padding-right: 15px !important;
} 